package cn.basic.bean.vo;

import java.util.Date;

/**
 * 描述：用户信息管理模型
 * 
 * @author yuanh
 * @date 2018/04/28
 */

public class User {
	private static final long serialVersionUID = 1L;

	private Long id;
	

	private String appid;

	private Long pid;

	private String userId;


	private String name;


	private String openid;

	private String birthDate;

	/**
	 * 证件类型 VARCHAR
	 */
	private String idType;

	/**
	 * 证件号码 VARCHAR
	 */
	private String idNumber;

	/**
	 * 证件有效期 DATE
	 */
	private String zjyxq;

	/**
	 * 国籍 VARCHAR
	 */
	private String nationality;

	/**
	 * 户籍类型:1,本地户籍;2,省内非本地户籍;3,省外户籍 VARCHAR
	 */
	private String hjlx;

	/**
	 * 身份证号码 VARCHAR
	 */
	private String idCardNum;

	/**
	 * 用户头像 TEXT
	 */
	private String headPhoto;

	/**
	 * 昵称 VARCHAR
	 */
	private String nickName;

	/**
	 * 性别:1,男;2,女 INT
	 */
	private Integer userSex;

	/**
	 * 密码 VARCHAR
	 */
	private String password;


	private Integer status;

	private Date createTime;


	private String createUser;


	private Date opTime;


	private String opUser;

	private Integer partId;


	private String provinceCode;

	/**
	 * 市编码 VARCHAR
	 */
	private String cityCode;

	/**
	 * 区/县编码 VARCHAR
	 */
	private String countyCode;

	/**
	 * 省名 VARCHAR
	 */
	private String provinceName;

	/**
	 * 市名 VARCHAR
	 */
	private String cityName;

	/**
	 * 区/县名 VARCHAR
	 */
	private String countyName;

	/**
	 * 外部分区号 INT
	 */
	private Integer extPartId;
	
	private String xing;
	
	private String ming;
	
	private int type;

	private int cleanType;

	private String email;
	
	public User() {
		super();
	}

	public User(Long id, String appid, Long pid, String userId, String name, String openid, String birthDate,
                String idType, String idNumber, String zjyxq, String nationality, String hjlx, String idCardNum,
                String headPhoto, String nickName, Integer userSex, String password, Integer status, Date createTime,
                String createUser, Date opTime, String opUser, Integer partId, String provinceCode, String cityCode,
                String countyCode, String provinceName, String cityName, String countyName, Integer extPartId, String email) {
		super();
		this.id = id;
		this.appid = appid;
		this.pid = pid;
		this.userId = userId;
		this.name = name;
		this.openid = openid;
		this.birthDate = birthDate;
		this.idType = idType;
		this.idNumber = idNumber;
		this.zjyxq = zjyxq;
		this.nationality = nationality;
		this.hjlx = hjlx;
		this.idCardNum = idCardNum;
		this.headPhoto = headPhoto;
		this.nickName = nickName;
		this.userSex = userSex;
		this.password = password;
		this.status = status;
		this.createTime = createTime;
		this.createUser = createUser;
		this.opTime = opTime;
		this.opUser = opUser;
		this.partId = partId;
		this.provinceCode = provinceCode;
		this.cityCode = cityCode;
		this.countyCode = countyCode;
		this.provinceName = provinceName;
		this.cityName = cityName;
		this.countyName = countyName;
		this.extPartId = extPartId;
		this.type=0;
		this.cleanType=0;
		this.email = email;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getCleanType() {
		return cleanType;
	}

	public void setCleanType(int cleanType) {
		this.cleanType = cleanType;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAppid() {
		return appid;
	}


	public void setAppid(String appid) {
		this.appid = appid;
	}


	public String getOpenid() {
		return openid;
	}


	public void setOpenid(String openid) {
		this.openid = openid;
	}


	public String getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}

	public String getHeadPhoto() {
		return this.headPhoto;
	}

	public void setHeadPhoto(String headPhoto) {
		this.headPhoto = headPhoto;
	}

	public String getNickName() {
		return this.nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Integer getUserSex() {
		return this.userSex;
	}

	public void setUserSex(Integer userSex) {
		this.userSex = userSex;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getOpTime() {
		return this.opTime;
	}

	public void setOpTime(Date opTime) {
		this.opTime = opTime;
	}

	public String getOpUser() {
		return this.opUser;
	}

	public void setOpUser(String opUser) {
		this.opUser = opUser;
	}

	public Integer getPartId() {
		return this.partId;
	}

	public void setPartId(Integer partId) {
		this.partId = partId;
	}

	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getCountyCode() {
		return countyCode;
	}

	public void setCountyCode(String countyCode) {
		this.countyCode = countyCode;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getCountyName() {
		return countyName;
	}

	public void setCountyName(String countyName) {
		this.countyName = countyName;
	}

	public Integer getExtPartId() {
		return extPartId;
	}

	public void setExtPartId(Integer extPartId) {
		this.extPartId = extPartId;
	}

	public String getIdType() {
		return idType;
	}

	public void setIdType(String idType) {
		this.idType = idType;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public String getIdCardNum() {
		return idCardNum;
	}

	public void setIdCardNum(String idCardNum) {
		this.idCardNum = idCardNum;
	}

	public String getZjyxq() {
		return zjyxq;
	}

	public void setZjyxq(String zjyxq) {
		this.zjyxq = zjyxq;
	}

	public String getNationality() {
		return nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public String getHjlx() {
		return hjlx;
	}

	public void setHjlx(String hjlx) {
		this.hjlx = hjlx;
	}

	public String getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(String birthDate) {
		this.birthDate = birthDate;
	}

	public String getXing() {
		return xing;
	}

	public void setXing(String xing) {
		this.xing = xing;
	}

	public String getMing() {
		return ming;
	}

	public void setMing(String ming) {
		this.ming = ming;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
}